<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/5/27 0027
  Time: 下午 4:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>你好</h1>
<%
//    long starTime = System.currentTimeMillis();
    long endTime=System.currentTimeMillis();
    session.setAttribute("endTime",endTime);
//    long starTime = System.currentTimeMillis();
//    out.print(endTime);
%>
<h1>该页面执行所花时间为${endTime-starTime}毫秒</h1>
</body>
</html>
